#include "ui_widget.h"
#include "LoginPage.h"
#include "MainPage.h"

LoginPage::LoginPage(QWidget *parent)
    : QWidget(Parent)
    , ui(new Ui::LoginPage) {
    ui -> setupUi(this);

    mainPage = new MainPage();
    mainPage -> hide();
    connect(this -> ui -> btn_Login, SIGNAL(clicked(bool)), this, SLOT(LoginBottonClick()));
    connect(mainPage, &MainPage::returnSignal, this, &LoginPage::show);
}

LoginPage::~LoginPage() {
    delete ui;
}

void LoginPage::LoginBottonClick() {

}
